package com.qw.qrweb.mapper;

import com.qw.qrweb.model.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from users where `username` = #{username} limit 1")
    public UserEntity getByUsername(String username);

}
